<?php
/**
 * Muestra toda la seccion <head> y todo lo demas hasta <div id="menu-nav">
 *
 * @package WordPress
 * @subpackage Observatorio de Cultura y Economia - Dev
 * @since Observatorio de Cultura y Economia - Dev 0.1
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo('charset'); ?>" />
<title><?php
	/*
	 * Print the <title> tag based on what is being viewed.
	 */
	global $page, $paged;

	wp_title( '|', true, 'right' );

	// Add the blog name.
	bloginfo( 'name' );

	// Add the blog description for the home/front page.
	$site_description = get_bloginfo( 'description', 'display' );
	if ( $site_description && ( is_home() || is_front_page() ) )
		echo " | $site_description";

	// Add a page number if necessary:
	if ( $paged >= 2 || $page >= 2 )
		echo ' | ' . sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) );

	?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="stylesheet" type="text/css" media="screen, projection" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
<link rel="stylesheet" type="text/css" media="print" href="<?php bloginfo('template_directory'); ?>/css/print.css" />
<!--[if lt IE 8]>
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('template_directory'); ?>/css/print.css" />
<![endif]-->
<?php wp_enqueue_script('jquery') ?>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php
	/* We add some JavaScript to pages with the comment form
	 * to support sites with threaded comments (when in use).
	 */
	if ( is_singular() && get_option( 'thread_comments' ) )
		wp_enqueue_script( 'comment-reply' );

	/* Always have wp_head() just before the closing </head>
	 * tag of your theme, or you will break many plugins, which
	 * generally use this hook to add elements to <head> such
	 * as styles, scripts, and meta tags.
	 */
	wp_head();
?>
</head>
    <body <?php body_class(); ?>>
        <div class="container showgrid fondo-secundario" >
          <div class="span-24 last" id="main">
              <div id="main-inner">
            <div class="span-24 last" id="header">
              <div class="span-7" id="logo">
                  <div id="logo-inner">
                      <a href="<?php bloginfo('url'); ?>" title="Inicio">
                          <h1>Inicio Observatorio de Cultura</h1>
                      </a>
                  </div>
              </div>
              <div class="span-10 prepend-7 last" id="funciones-header">
                <div class="span-10 last" id="redes">
                    <ul id="lista-redes">
                        <li>
                            <a href="mailto:info@culturayeconomia.org" id="mail">Correo</a>
                        </li>
                        <li>
                            <a href="http://facebook.com" id="fb" target="_blank">Facebook</a>
                        </li>
                        <li>
                            <a href="http://twitter.com" id="twitter" target="_blank">Twitter</a>
                        </li>
                        <li>
                            <a href="<?php bloginfo('rss2_url'); ?>" id="rss" target="_blank">rss</a>
                        </li>
                        <li>
                            <a href="<?php bloginfo('url'); ?>" id="inicio" target="_self">Home</a>
                        </li>                  
                    </ul>
                </div><!-- end redes -->
                <div class="clear span-10 last" id="buscar">
                    <div id="search">
                            <?php get_search_form(); ?>
                    </div>
                </div><!-- end buscar -->
                <div class="clear span-10 last" id="login">
                    <div id="registro">
                        <h2 id="flecha-registro">Registro</h2>
                        <div id="enlaces-registro">
                            <a href="<?php bloginfo('url'); ?>/wp-login.php">Login</a> /
                            <a href="<?php bloginfo('url'); ?>/wp-login.php?action=register">Registro</a>
                        </div><!-- end enlaces-registro -->
                    </div><!-- end registro -->
                </div><!-- end login -->
              </div> <!--end funciones header -->
              <div class="clear span-24 last" id="menu-nav">
                  <div id="franja-colores">a</div>
                  <div id="navegacion">
                      <?php wp_nav_menu(array('container_class'=> 'menu-header', 'menu' => 'menu_principal')); ?>
                  </div>

              </div><!-- end menu-nav -->
            </div><!-- end header -->
